import { Tag } from 'antd';
import React, { useState, useEffect } from 'react';
import styles from './index.less';


const CommonTag = ({ color,children, ...rest }) => {
  return <div className={styles.tag}>
    <Tag color={color}>{children}</Tag>
  </div>;
};

export default CommonTag;